package net.towee.model.bittorrent.impl;

import java.util.List;

import net.towee.model.bittorrent.TorrentItem;


/**
 * Item of torrent
 * 
 * @author c58
 */
public class TorrentItemImpl implements TorrentItem {

	private String name;
	private long size;
	private List<String> path;
	
	public TorrentItemImpl(){}
	public TorrentItemImpl(String name, long size, List<String> path){
		this.name = name;
		this.size = size;
		this.path = path;
	}
	
	@Override
	public String getName() {
		return name;
	}

	@Override
	public long getSize() {
		return size;
	}

	@Override
	public List<String> getPath() {
		return path;
	}	
}